package cn.supermarket.system.service.impl;

import cn.supermarket.system.dto.TProductDTO;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.supermarket.system.entity.TProduct;
import cn.supermarket.system.service.TProductService;
import cn.supermarket.system.mapper.TProductMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 */
@Service
public class TProductServiceImpl extends ServiceImpl<TProductMapper, TProduct>
    implements TProductService{

    @Override
    public List<TProduct> pageList(TProductDTO tProductDTO) {
        return this.baseMapper.pageList(tProductDTO);
    }

    @Override
    public List<TProduct> getSelection() {
        return this.baseMapper.getSelection();
    }
}




